<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>后台管理 | 左边菜单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=8">
<script type="text/javascript" src="__STATIC__/js/core/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/default/wlife/base.css">
<link rel="stylesheet" href="__STATIC__/icon/icon.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/default/wlife/leftmenu.css">
<SCRIPT type="text/javascript">
$(document).ready(function(){
	$('.MainContainer').height($(window).height()-2);
	$('.MainContainer').width($(window).width());	
	$('.AllShow').click(function(){
		$('.ListMenus dl').removeClass('hideSon');
	});
	$('.AllHide').click(function(){
		$('.ListMenus dl').addClass('hideSon');
	});
	$('.ListMenus dl dt').click(function(){
		var thisdl=$(this).parent();
		if(thisdl.hasClass('hideSon')){
			thisdl.removeClass('hideSon');
		}else{
			thisdl.addClass('hideSon');
		}
	});
	if("{:count($menuArray)}">5){
		$('.AllHide').trigger("click");
	}
});
</SCRIPT>
</head>
<body>
<div class="MainContainer">
	<div class="LeftMenu">
		<dl class="base">
			<dt><span><i class="fa fa-desktop"></i>当前状态</span></dt>
			<dd>
				<ul>
					<li><span>帐号：</span><span>{$userdb.username}</span></li>
					<li><span>级别：</span><span>{$userdb.groupid|getGroupByid}</span></li>
					<li><a href="{:urls('index/welcome')}" target="main">管理首页</a> <a href="{:urls('index/quit')}" target="main">安全退出</a></li>
					<li><a href='/' target="_blank">查看首页</a> <a href="{:urls('index/sysinfo')}" target="main">服务器信息</a></li>
					<li><span class="AllShow">全部展开</span> <span class="AllHide">全部收缩</span></li>
				</ul>
			</dd>
		</dl>
		<div class="ListMenus">
{foreach name="menuArray" item="vo"}
<dl>
<dt><span><i class="{$vo.icon|default='fa fa-fw fa-map-o'}"></i>{$vo.title}</span></dt>
<dd><ul>
{foreach name="vo.sons" item="rs" }
<li><A HREF="{$rs.url}" target="{$rs.target?'_blank':'main'}">{$rs.title}</A></li>
{/foreach}
</ul></dd>
</dl>
{/foreach}
			<dl class="info">
				<dt><span><i class="si si-cup"></i>版本信息</span></dt>
				<dd class="ListInfo">
					<div>系统版本：{$webdb.QB_VERSION}</div>
					<div>系统设计：龙城</div>
					<div>支持团队：<a href="https://www.qibo168.com" target="_blank">随风(suifeng)</a>、<a href="https://www.qibox1.com" target="_blank">石头</a>等版主</div>
					<div>技术交流：<a href="http://bbs.php168.com" target="_blank">齐博官方论坛</a></div>
				</dd>
			</dl>
		</div>
		<br/>
	</div>
</div>
</body>
</html>